#include "OurPrimaryGeneratorAction.hh"


OurPrimaryGeneratorAction::
OurPrimaryGeneratorAction()
{
	G4cout << "Begin of OurPrimaryGeneratorAction constructor. \n";
	theSource = new Cf252( G4ThreeVector(0,0,0) );
	G4cout << "End of OurPrimaryGeneratorAction constructor. \n";

	}

OurPrimaryGeneratorAction::
	~OurPrimaryGeneratorAction()
{
	G4cout << "Begin of OurPrimaryGeneratorAction destructor. \n";
	delete theSource;
	G4cout << "End of OurPrimaryGeneratorAction destructor. \n";
}

void OurPrimaryGeneratorAction::
	GeneratePrimaries(G4Event* evt)
{
	theSource->GeneratePrimaryVertex(evt);
}
